/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package jam.sfcc.business;

import jam.sfcc.common.data.CategoriaData;
import jam.sfcc.common.domain.Categoria;
import java.sql.SQLException;
import java.util.LinkedList;

/**
 *
 * @author Josué
 */
public class CategoriaBusiness {
    private CategoriaData categoriaData;

    public CategoriaBusiness(String userName, String password) {
        categoriaData=new CategoriaData(userName, password);
    }
    public LinkedList<Categoria> getCategorias() throws SQLException{
        return categoriaData.getCategorias();
    }
    
}
